<html>
<head>
    <meta http-equiv=content-type content="text/html; charset=utf-8"/>
    <link rel="stylesheet" href="{$smarty.const.CSS_URL}myfollow.css"/>
</head>
<body style="background: url('{$smarty.const.IMG_URL}waver.png')">
<div class="publish">
    <form action="{$smarty.const.__SELF__}" method="post" enctype="multipart/form-data">
        <div class="from-img">
            <div class="add_ico">
                <img src="{$smarty.const.IMG_URL}ic_pic.png" title="请点击右侧按钮添加图片">
            </div>
            <div class="add_pic">
                图片：<input class="add_file" type="file" name="message_img"/>
                <label class="info_lab">{$pic_info}</label>
            </div>
        </div>
        <textarea class="area" name="message_introduce"></textarea>

        <div class="lab">
            <div class="lab_ico">
                <img src="{$smarty.const.IMG_URL}ic_lab.png" title="请在右侧选择标签">
            </div>
            <div class="lab_content">
                标签：
                生活<input type="checkbox" name="message_tag[]" value="生活"/>&nbsp;&nbsp;&nbsp;
                人物<input type="checkbox" name="message_tag[]" value="人物"/>&nbsp;&nbsp;&nbsp;
                旅行<input type="checkbox" name="message_tag[]" value="旅行"/>&nbsp;&nbsp;&nbsp;
                小物<input type="checkbox" name="message_tag[]" value="小物"/>&nbsp;&nbsp;&nbsp;
                欢笑<input type="checkbox" name="message_tag[]" value="欢笑"/>&nbsp;&nbsp;&nbsp;
                影视<input type="checkbox" name="message_tag[]" value="影视"/>&nbsp;&nbsp;&nbsp;
                文学<input type="checkbox" name="message_tag[]" value="文学"/>&nbsp;&nbsp;&nbsp;
                绘画<input type="checkbox" name="message_tag[]" value="绘画"/>&nbsp;&nbsp;&nbsp;
                APP<input type="checkbox" name="message_tag[]" value="APP"/>&nbsp;&nbsp;&nbsp;
            </div>
            <div class="publish_btn">
                <input class="btn" type="submit" value="发布"/>
            </div>
        </div>
    </form>
</div>
{foreach $minfo as $k=>$v}
<div class="record">
    <div class="record_title">
        <a href="{$smarty.const.__CONTROLLER__}/other/user_id/{$v.user_id}">
            {$v.username}
        </a>
    </div>
    <div class="record_date">
        {date("y-m-d H:i:s",$v.message_time)}
    </div>
    <div class="record_pic">
        <img src="{$smarty.const.IMG_UPLOAD}{$v.message_small_img}"
             onclick="this.src='{$smarty.const.IMG_UPLOAD}{$v.message_big_img}'"
             ondblclick="this.src='{$smarty.const.IMG_UPLOAD}{$v.message_small_img}'"
             title="单击看大图，双击看小图"/>
    </div>
    <div class="record_content">
        {$v.message_introduce}
    </div>
    <div class="record_response">
        <a href="{$smarty.const.__MODULE__}/index/comment/message_id/{$v.message_id}">
            评论 {$v.comment_count}
        </a>
    </div>
    <!--以下是一张大图片的显示，我希望像微博一样，点击小图像能放大变成大图像。-->
    <!--<td><img src="{$smarty.const.IMG_UPLOAD}{$v.goods_big_img}" height="60" width="60"></td>-->
    <!--<td><a href="{$smarty.const.__MODULE__}/goods/update/goods_id/{$v.goods_id}">修改</a></td>-->
    <!--<td><a href="{$smarty.const.__MODULE__}/goods/del/goods_id/{$v.goods_id}" onclick="delete_product(1)">删除</a></td>-->
</div>
{/foreach}
<div class="record_num">
    {$pagelist}
</div>
</body>
</html>